package com.ruoyi.order.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 订单地址对象 orderAddress
 * 
 * @author ruoyi
 * @date 2022-02-08
 */
public class OrderAddress extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 订单地址 */
    private Integer id;

    /** 订单id */
    @Excel(name = "订单id")
    private Integer orderID;

    /** 接收人 */
    @Excel(name = "接收人")
    private String acceptPerson;

    /** 寄件人 */
    @Excel(name = "寄件人")
    private String expressPerson;

    /** 电话 */
    @Excel(name = "电话")
    private String mobile;

    /** 订单地址 */
    @Excel(name = "订单地址")
    private String details;

    /** 省份id */
    @Excel(name = "省份id")
    private Integer provinceID;

    /** 省份 */
    @Excel(name = "省份")
    private String provinceName;

    /** 城市id */
    @Excel(name = "城市id")
    private Integer cityID;

    /** 城市 */
    @Excel(name = "城市")
    private String cityName;

    /** 区号id */
    @Excel(name = "区号id")
    private Integer areaID;

    /** 区号 */
    @Excel(name = "区号")
    private String areaName;

    /** 运费 */
    @Excel(name = "运费")
    private BigDecimal fee;

    /** 创建人 */
    @Excel(name = "创建人")
    private Integer createUser;

    /** 更新人 */
    @Excel(name = "更新人")
    private Integer updateUser;

    public void setId(Integer id) 
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }
    public void setOrderID(Integer orderID) 
    {
        this.orderID = orderID;
    }

    public Integer getOrderID() 
    {
        return orderID;
    }
    public void setAcceptPerson(String acceptPerson) 
    {
        this.acceptPerson = acceptPerson;
    }

    public String getAcceptPerson() 
    {
        return acceptPerson;
    }
    public void setExpressPerson(String expressPerson) 
    {
        this.expressPerson = expressPerson;
    }

    public String getExpressPerson() 
    {
        return expressPerson;
    }
    public void setMobile(String mobile) 
    {
        this.mobile = mobile;
    }

    public String getMobile() 
    {
        return mobile;
    }
    public void setDetails(String details) 
    {
        this.details = details;
    }

    public String getDetails() 
    {
        return details;
    }
    public void setProvinceID(Integer provinceID) 
    {
        this.provinceID = provinceID;
    }

    public Integer getProvinceID() 
    {
        return provinceID;
    }
    public void setProvinceName(String provinceName) 
    {
        this.provinceName = provinceName;
    }

    public String getProvinceName() 
    {
        return provinceName;
    }
    public void setCityID(Integer cityID) 
    {
        this.cityID = cityID;
    }

    public Integer getCityID() 
    {
        return cityID;
    }
    public void setCityName(String cityName) 
    {
        this.cityName = cityName;
    }

    public String getCityName() 
    {
        return cityName;
    }
    public void setAreaID(Integer areaID) 
    {
        this.areaID = areaID;
    }

    public Integer getAreaID() 
    {
        return areaID;
    }
    public void setAreaName(String areaName) 
    {
        this.areaName = areaName;
    }

    public String getAreaName() 
    {
        return areaName;
    }
    public void setFee(BigDecimal fee) 
    {
        this.fee = fee;
    }

    public BigDecimal getFee() 
    {
        return fee;
    }
    public void setCreateUser(Integer createUser) 
    {
        this.createUser = createUser;
    }

    public Integer getCreateUser() 
    {
        return createUser;
    }
    public void setUpdateUser(Integer updateUser) 
    {
        this.updateUser = updateUser;
    }

    public Integer getUpdateUser() 
    {
        return updateUser;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("orderID", getOrderID())
            .append("acceptPerson", getAcceptPerson())
            .append("expressPerson", getExpressPerson())
            .append("mobile", getMobile())
            .append("remark", getRemark())
            .append("details", getDetails())
            .append("provinceID", getProvinceID())
            .append("provinceName", getProvinceName())
            .append("cityID", getCityID())
            .append("cityName", getCityName())
            .append("areaID", getAreaID())
            .append("areaName", getAreaName())
            .append("fee", getFee())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("createUser", getCreateUser())
            .append("updateUser", getUpdateUser())
            .toString();
    }
}
